package com.yingsheng.bi.hks.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * 身份证OCR识别
 */
@ApiModel(value = "身份证OCR识别")
@EqualsAndHashCode(callSuper = true)
@Data
public class IdCardOcrReq extends HksTransReq {

    @ApiModelProperty(value = "身份证正面照片", required = true, notes = "图片转换成base64格式")
    @NotEmpty
    private String idCardImgFront;

}
